package cn.wolfcode.edu.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
@ToString
public class BigCustomer extends BaseDomain {

    private String schoolName;//学校名称

    private String location;//学校地址

    private SystemDictionaryItem importance;//重要性

    private SystemDictionaryItem intentionDegree;//意向程度

    private String schoolTel;//学校联系电话

    private SystemDictionaryItem subject;//意向学科

    private SystemDictionaryItem college;//意向学院

    private Employee marketer;//营销人员

    private Employee tracer;//追踪人员
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date earlierTime;//上次跟进的时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date laterTime;//下次跟进的时间

    private int traceState = NORMAL_TRACESTATE;//跟踪的状态(是否跟踪)

    private int state = UNNORMAL_STATE;//是否签约

    private int totalNumber;//学生总人数

    private SystemDictionaryItem type;//学校类型

    private String fax;//传真

    private String postcode;//邮编

    private String remark;//备注

    private String synopsis;//简介

    private SchoolContact contact;//学校联系人

    public static final  int  NORMAL_TRACESTATE=1;//已经追踪

    public static final  int  UNNORMAL_TRACESTATE=0;//未追踪

    public static final  int  NORMAL_STATE=1;//已经签约

    public static final  int  UNNORMAL_STATE=0;//签约
}